(self.webpackChunkpromptmanager=self.webpackChunkpromptmanager||[]).push([[6331],{23414:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(72791),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(54291),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="CopyOutlined";var c=o.forwardRef(l)},31752:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(1413),o=n(72791),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=n(54291),l=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};l.displayName="EditOutlined";var c=o.forwardRef(l)},17828:function(e,t,n){"use strict";n.d(t,{Z:function(){return T}});var r=n(4942),o=n(29439),i=n(81694),a=n.n(i),l=n(1413),c=n(72791),s=n(32925),u=n(87462),d=n(15207);var f=function(e){var t=e.prefixCls,n=e.className,r=e.style,o=e.children,i=e.containerRef;return c.createElement(c.Fragment,null,c.createElement("div",{className:a()("".concat(t,"-content"),n),style:(0,l.Z)({},r),"aria-modal":"true",role:"dialog",ref:i},o))},p=c.createContext(null),h=n(11354),m=n(60632);function v(e){return"string"===typeof e&&String(Number(e))===e?((0,m.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var g={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function b(e){var t,n,i,s,m=e.prefixCls,b=e.open,y=e.placement,w=e.inline,k=e.push,x=e.forceRender,C=e.autoFocus,E=e.keyboard,S=e.rootClassName,O=e.rootStyle,D=e.zIndex,N=e.className,L=e.style,j=e.motion,A=e.width,Z=e.height,P=e.children,T=e.contentWrapperStyle,M=e.mask,R=e.maskClosable,B=e.maskMotion,F=e.maskClassName,I=e.maskStyle,_=e.afterOpenChange,z=e.onClose,H=c.useRef(),V=c.useRef(),W=c.useRef();c.useEffect((function(){var e;b&&C&&(null===(e=H.current)||void 0===e||e.focus({preventScroll:!0}))}),[b,C]);var G=c.useState(!1),$=(0,o.Z)(G,2),U=$[0],X=$[1],q=c.useContext(p),J=null!==(t=null!==(n=null===(i=!1===k?{distance:0}:!0===k?{}:k||{})||void 0===i?void 0:i.distance)&&void 0!==n?n:null===q||void 0===q?void 0:q.pushDistance)&&void 0!==t?t:180,Y=c.useMemo((function(){return{pushDistance:J,push:function(){X(!0)},pull:function(){X(!1)}}}),[J]);c.useEffect((function(){var e,t;b?null===q||void 0===q||null===(e=q.push)||void 0===e||e.call(q):null===q||void 0===q||null===(t=q.pull)||void 0===t||t.call(q)}),[b]),c.useEffect((function(){return function(){var e;null===q||void 0===q||null===(e=q.pull)||void 0===e||e.call(q)}}),[]);var K=M&&c.createElement(d.Z,(0,u.Z)({key:"mask"},B,{visible:b}),(function(e,t){var n=e.className,r=e.style;return c.createElement("div",{className:a()("".concat(m,"-mask"),n,F),style:(0,l.Z)((0,l.Z)({},r),I),onClick:R&&b?z:void 0,ref:t})})),Q="function"===typeof j?j(y):j,ee={};if(U&&J)switch(y){case"top":ee.transform="translateY(".concat(J,"px)");break;case"bottom":ee.transform="translateY(".concat(-J,"px)");break;case"left":ee.transform="translateX(".concat(J,"px)");break;default:ee.transform="translateX(".concat(-J,"px)")}"left"===y||"right"===y?ee.width=v(A):ee.height=v(Z);var te=c.createElement(d.Z,(0,u.Z)({key:"panel"},Q,{visible:b,forceRender:x,onVisibleChanged:function(e){null===_||void 0===_||_(e)},removeOnLeave:!1,leavedClassName:"".concat(m,"-content-wrapper-hidden")}),(function(e,t){var n=e.className,r=e.style;return c.createElement("div",{className:a()("".concat(m,"-content-wrapper"),n),style:(0,l.Z)((0,l.Z)((0,l.Z)({},ee),r),T)},c.createElement(f,{containerRef:t,prefixCls:m,className:N,style:L},P))})),ne=(0,l.Z)({},O);return D&&(ne.zIndex=D),c.createElement(p.Provider,{value:Y},c.createElement("div",{className:a()(m,"".concat(m,"-").concat(y),S,(s={},(0,r.Z)(s,"".concat(m,"-open"),b),(0,r.Z)(s,"".concat(m,"-inline"),w),s)),style:ne,tabIndex:-1,ref:H,onKeyDown:function(e){var t=e.keyCode,n=e.shiftKey;switch(t){case h.Z.TAB:var r;if(t===h.Z.TAB)if(n||document.activeElement!==W.current){if(n&&document.activeElement===V.current){var o;null===(o=W.current)||void 0===o||o.focus({preventScroll:!0})}}else null===(r=V.current)||void 0===r||r.focus({preventScroll:!0});break;case h.Z.ESC:z&&E&&z(e)}}},K,c.createElement("div",{tabIndex:0,ref:V,style:g,"aria-hidden":"true","data-sentinel":"start"}),te,c.createElement("div",{tabIndex:0,ref:W,style:g,"aria-hidden":"true","data-sentinel":"end"})))}var y=function(e){var t=e.open,n=void 0!==t&&t,r=e.prefixCls,i=void 0===r?"rc-drawer":r,a=e.placement,u=void 0===a?"right":a,d=e.autoFocus,f=void 0===d||d,p=e.keyboard,h=void 0===p||p,m=e.width,v=void 0===m?378:m,g=e.mask,y=void 0===g||g,w=e.maskClosable,k=void 0===w||w,x=e.getContainer,C=e.forceRender,E=e.afterOpenChange,S=e.destroyOnClose,O=c.useState(!1),D=(0,o.Z)(O,2),N=D[0],L=D[1];if(!C&&!N&&!n&&S)return null;var j=(0,l.Z)((0,l.Z)({},e),{},{open:n,prefixCls:i,placement:u,autoFocus:f,keyboard:h,width:v,mask:y,maskClosable:k,inline:!1===x,afterOpenChange:function(e){L(e),null===E||void 0===E||E(e)}});return c.createElement(s.Z,{open:n||C||N,autoDestroy:!1,getContainer:x,autoLock:y&&(n||N)},c.createElement(b,j))},w=n(71929),k=n(91940),x=n(29464),C=n(60732);function E(e){var t=e.prefixCls,n=e.title,o=e.footer,i=e.extra,l=e.closable,s=void 0===l||l,u=e.closeIcon,d=void 0===u?c.createElement(C.Z,null):u,f=e.onClose,p=e.headerStyle,h=e.drawerStyle,m=e.bodyStyle,v=e.footerStyle,g=e.children,b=s&&c.createElement("button",{type:"button",onClick:f,"aria-label":"Close",className:"".concat(t,"-close")},d);return c.createElement("div",{className:"".concat(t,"-wrapper-body"),style:Object.assign({},h)},n||s?c.createElement("div",{className:a()("".concat(t,"-header"),(0,r.Z)({},"".concat(t,"-header-close-only"),s&&!n&&!i)),style:p},c.createElement("div",{className:"".concat(t,"-header-title")},b,n&&c.createElement("div",{className:"".concat(t,"-title")},n)),i&&c.createElement("div",{className:"".concat(t,"-extra")},i)):null,c.createElement("div",{className:"".concat(t,"-body"),style:m},g),function(){if(!o)return null;var e="".concat(t,"-footer");return c.createElement("div",{className:e,style:v},o)}())}var S=n(55564),O=n(89922),D=function(e){var t,n=e.componentCls,o=e.motionDurationSlow,i={"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:"all ".concat(o)}}};return(0,r.Z)({},n,(t={},(0,r.Z)(t,"".concat(n,"-mask-motion"),{"&-enter, &-appear, &-leave":{"&-active":{transition:"all ".concat(o)}},"&-enter, &-appear":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}}}),(0,r.Z)(t,"".concat(n,"-panel-motion"),{"&-left":[i,{"&-enter, &-appear":{"&-start":{transform:"translateX(-100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(-100%)"}}}],"&-right":[i,{"&-enter, &-appear":{"&-start":{transform:"translateX(100%) !important"},"&-active":{transform:"translateX(0)"}},"&-leave":{transform:"translateX(0)","&-active":{transform:"translateX(100%)"}}}],"&-top":[i,{"&-enter, &-appear":{"&-start":{transform:"translateY(-100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(-100%)"}}}],"&-bottom":[i,{"&-enter, &-appear":{"&-start":{transform:"translateY(100%) !important"},"&-active":{transform:"translateY(0)"}},"&-leave":{transform:"translateY(0)","&-active":{transform:"translateY(100%)"}}}]}),t))},N=function(e){var t,n,o=e.componentCls,i=e.zIndexPopup,a=e.colorBgMask,l=e.colorBgElevated,c=e.motionDurationSlow,s=e.motionDurationMid,u=e.padding,d=e.paddingLG,f=e.fontSizeLG,p=e.lineHeightLG,h=e.lineWidth,m=e.lineType,v=e.colorSplit,g=e.marginSM,b=e.colorIcon,y=e.colorIconHover,w=e.colorText,k=e.fontWeightStrong,x=e.drawerFooterPaddingVertical,C=e.drawerFooterPaddingHorizontal,E="".concat(o,"-content-wrapper");return(0,r.Z)({},o,(n={position:"fixed",inset:0,zIndex:i,pointerEvents:"none","&-pure":(t={position:"relative",background:l},(0,r.Z)(t,"&".concat(o,"-left"),{boxShadow:e.boxShadowDrawerLeft}),(0,r.Z)(t,"&".concat(o,"-right"),{boxShadow:e.boxShadowDrawerRight}),(0,r.Z)(t,"&".concat(o,"-top"),{boxShadow:e.boxShadowDrawerUp}),(0,r.Z)(t,"&".concat(o,"-bottom"),{boxShadow:e.boxShadowDrawerDown}),t),"&-inline":{position:"absolute"}},(0,r.Z)(n,"".concat(o,"-mask"),{position:"absolute",inset:0,zIndex:i,background:a,pointerEvents:"auto"}),(0,r.Z)(n,E,{position:"absolute",zIndex:i,transition:"all ".concat(c),"&-hidden":{display:"none"}}),(0,r.Z)(n,"&-left > ".concat(E),{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft}),(0,r.Z)(n,"&-right > ".concat(E),{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight}),(0,r.Z)(n,"&-top > ".concat(E),{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp}),(0,r.Z)(n,"&-bottom > ".concat(E),{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown}),(0,r.Z)(n,"".concat(o,"-content"),{width:"100%",height:"100%",overflow:"auto",background:l,pointerEvents:"auto"}),(0,r.Z)(n,"".concat(o,"-wrapper-body"),{display:"flex",flexDirection:"column",width:"100%",height:"100%"}),(0,r.Z)(n,"".concat(o,"-header"),{display:"flex",flex:0,alignItems:"center",padding:"".concat(u,"px ").concat(d,"px"),fontSize:f,lineHeight:p,borderBottom:"".concat(h,"px ").concat(m," ").concat(v),"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}}),(0,r.Z)(n,"".concat(o,"-extra"),{flex:"none"}),(0,r.Z)(n,"".concat(o,"-close"),{display:"inline-block",marginInlineEnd:g,color:b,fontWeight:k,fontSize:f,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,outline:0,cursor:"pointer",transition:"color ".concat(s),textRendering:"auto","&:focus, &:hover":{color:y,textDecoration:"none"}}),(0,r.Z)(n,"".concat(o,"-title"),{flex:1,margin:0,color:w,fontWeight:e.fontWeightStrong,fontSize:f,lineHeight:p}),(0,r.Z)(n,"".concat(o,"-body"),{flex:1,minWidth:0,minHeight:0,padding:d,overflow:"auto"}),(0,r.Z)(n,"".concat(o,"-footer"),{flexShrink:0,padding:"".concat(x,"px ").concat(C,"px"),borderTop:"".concat(h,"px ").concat(m," ").concat(v)}),(0,r.Z)(n,"&-rtl",{direction:"rtl"}),n))},L=(0,S.Z)("Drawer",(function(e){var t=(0,O.TS)(e,{drawerFooterPaddingVertical:e.paddingXS,drawerFooterPaddingHorizontal:e.padding});return[N(t),D(t)]}),(function(e){return{zIndexPopup:e.zIndexPopupBase}})),j=n(70011),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Z={distance:180};function P(e){var t=e.rootClassName,n=e.width,i=e.height,l=e.size,s=void 0===l?"default":l,u=e.mask,d=void 0===u||u,f=e.push,p=void 0===f?Z:f,h=e.open,m=e.afterOpenChange,v=e.onClose,g=e.prefixCls,b=e.getContainer,C=e.visible,S=e.afterVisibleChange,O=A(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","visible","afterVisibleChange"]),D=c.useContext(w.E_),N=D.getPopupContainer,P=D.getPrefixCls,T=D.direction,M=P("drawer",g),R=L(M),B=(0,o.Z)(R,2),F=B[0],I=B[1],_=void 0===b&&N?function(){return N(document.body)}:b,z=a()((0,r.Z)({"no-mask":!d},"".concat(M,"-rtl"),"rtl"===T),t,I);var H=c.useMemo((function(){return null!==n&&void 0!==n?n:"large"===s?736:378}),[n,s]),V=c.useMemo((function(){return null!==i&&void 0!==i?i:"large"===s?736:378}),[i,s]),W={motionName:(0,x.mL)(M,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500};return F(c.createElement(j.BR,null,c.createElement(k.Ux,{status:!0,override:!0},c.createElement(y,Object.assign({prefixCls:M,onClose:v,maskMotion:W,motion:function(e){return{motionName:(0,x.mL)(M,"panel-motion-".concat(e)),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}}},O,{open:null!==h&&void 0!==h?h:C,mask:d,push:p,width:H,height:V,rootClassName:z,getContainer:_,afterOpenChange:null!==m&&void 0!==m?m:S}),c.createElement(E,Object.assign({prefixCls:M},O,{onClose:v}))))))}P._InternalPanelDoNotUseOrYouWillBeFired=function(e){var t=e.prefixCls,n=e.style,r=e.className,i=e.placement,l=void 0===i?"right":i,s=A(e,["prefixCls","style","className","placement"]),u=(0,c.useContext(w.E_).getPrefixCls)("drawer",t),d=L(u),f=(0,o.Z)(d,2),p=f[0],h=f[1];return p(c.createElement("div",{className:a()(u,"".concat(u,"-pure"),"".concat(u,"-").concat(l),h,r),style:n},c.createElement(E,Object.assign({prefixCls:u},s))))};var T=P},45863:function(e,t,n){"use strict";n.d(t,{Z:function(){return de}});var r=n(72791),o=n(4942),i=n(29439),a=n(67575),l=n(23414),c=n(31752),s=n(81694),u=n.n(s),d=n(76998),f=n.n(d),p=n(88829),h=n(85501),m=n(71605),v=n(75179),g=n(41818),b=n(88834),y=n(71929),w=n(57801),k=n(11354),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},C={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},E=r.forwardRef((function(e,t){var n=e.style,o=e.noStyle,i=e.disabled,a=x(e,["style","noStyle","disabled"]),l={};return o||(l=Object.assign({},C)),i&&(l.pointerEvents="none"),l=Object.assign(Object.assign({},l),n),r.createElement("div",Object.assign({role:"button",tabIndex:0,ref:t},a,{onKeyDown:function(e){e.keyCode===k.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===k.Z.ENTER&&r&&r()},style:l}))})),S=E,O=n(42748),D=n(84017),N=n(1413),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},j=n(54291),A=function(e,t){return r.createElement(j.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:L}))};A.displayName="EnterOutlined";var Z=r.forwardRef(A),P=n(66920),T=n(61113),M=n(55564),R=n(93742),B=n(26264),F=n(1325),I=function(e){var t,n,r=e.componentCls,i=e.sizeMarginHeadingVerticalStart;return(0,o.Z)({},r,Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign((t={color:e.colorText,wordBreak:"break-word",lineHeight:e.lineHeight},(0,o.Z)(t,"&".concat(r,"-secondary"),{color:e.colorTextDescription}),(0,o.Z)(t,"&".concat(r,"-success"),{color:e.colorSuccess}),(0,o.Z)(t,"&".concat(r,"-warning"),{color:e.colorWarning}),(0,o.Z)(t,"&".concat(r,"-danger"),{color:e.colorError,"a&:active, a&:focus":{color:e.colorErrorActive},"a&:hover":{color:e.colorErrorHover}}),(0,o.Z)(t,"&".concat(r,"-disabled"),{color:e.colorTextDisabled,cursor:"not-allowed",userSelect:"none"}),(0,o.Z)(t,"\n        div&,\n        p\n      ",{marginBottom:"1em"}),t),function(e){var t={};return[1,2,3,4,5].forEach((function(n){t["\n      h".concat(n,"&,\n      div&-h").concat(n,",\n      div&-h").concat(n," > textarea,\n      h").concat(n,"\n    ")]=function(e,t,n,r){return{marginBottom:r.sizeMarginHeadingVerticalEnd,color:n,fontWeight:r.fontWeightStrong,fontSize:e,lineHeight:t}}(e["fontSizeHeading".concat(n)],e["lineHeightHeading".concat(n)],e.colorTextHeading,e)})),t}(e)),(n={},(0,o.Z)(n,"\n      & + h1".concat(r,",\n      & + h2").concat(r,",\n      & + h3").concat(r,",\n      & + h4").concat(r,",\n      & + h5").concat(r,"\n      "),{marginTop:i}),(0,o.Z)(n,"\n      div,\n      ul,\n      li,\n      p,\n      h1,\n      h2,\n      h3,\n      h4,\n      h5",(0,o.Z)({},"\n        + h1,\n        + h2,\n        + h3,\n        + h4,\n        + h5\n        ",{marginTop:i})),n)),{code:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.2em 0.1em",fontSize:"85%",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3},kbd:{margin:"0 0.2em",paddingInline:"0.4em",paddingBlock:"0.15em 0.1em",fontSize:"90%",background:"rgba(150, 150, 150, 0.06)",border:"1px solid rgba(100, 100, 100, 0.2)",borderBottomWidth:2,borderRadius:3},mark:{padding:0,backgroundColor:R.EV[2]},"u, ins":{textDecoration:"underline",textDecorationSkipInk:"auto"},"s, del":{textDecoration:"line-through"},strong:{fontWeight:600},"ul, ol":{marginInline:0,marginBlock:"0 1em",padding:0,li:{marginInline:"20px 0",marginBlock:0,paddingInline:"4px 0",paddingBlock:0}},ul:{listStyleType:"circle",ul:{listStyleType:"disc"}},ol:{listStyleType:"decimal"},"pre, blockquote":{margin:"1em 0"},pre:{padding:"0.4em 0.6em",whiteSpace:"pre-wrap",wordWrap:"break-word",background:"rgba(150, 150, 150, 0.1)",border:"1px solid rgba(100, 100, 100, 0.2)",borderRadius:3,code:{display:"inline",margin:0,padding:0,fontSize:"inherit",fontFamily:"inherit",background:"transparent",border:0}},blockquote:{paddingInline:"0.6em 0",paddingBlock:0,borderInlineStart:"4px solid rgba(100, 100, 100, 0.2)",opacity:.85}}),function(e){var t=e.componentCls;return{"a&, a":Object.assign(Object.assign({},(0,F.N)(e)),(0,o.Z)({textDecoration:e.linkDecoration,"&:active, &:hover":{textDecoration:e.linkHoverDecoration}},"&[disabled], &".concat(t,"-disabled"),{color:e.colorTextDisabled,cursor:"not-allowed","&:active, &:hover":{color:e.colorTextDisabled},"&:active":{pointerEvents:"none"}}))}}(e)),(0,o.Z)({},"\n        ".concat(r,"-expand,\n        ").concat(r,"-edit,\n        ").concat(r,"-copy\n      "),Object.assign(Object.assign({},(0,F.N)(e)),{marginInlineStart:e.marginXXS}))),function(e){var t,n=e.componentCls,r=(0,B.e5)(e).inputPaddingVertical+1;return{"&-edit-content":(t={position:"relative","div&":{insetInlineStart:-e.paddingSM,marginTop:-r,marginBottom:"calc(1em - ".concat(r,"px)")}},(0,o.Z)(t,"".concat(n,"-edit-content-confirm"),{position:"absolute",insetInlineEnd:e.marginXS+2,insetBlockEnd:e.marginXS,color:e.colorTextDescription,fontWeight:"normal",fontSize:e.fontSize,fontStyle:"normal",pointerEvents:"none"}),(0,o.Z)(t,"textarea",{margin:"0!important",MozTransition:"none",height:"1em"}),t)}}(e)),function(e){return{"&-copy-success":(0,o.Z)({},"\n    &,\n    &:hover,\n    &:focus",{color:e.colorSuccess})}}(e)),function(){var e;return e={},(0,o.Z)(e,"\n  a&-ellipsis,\n  span&-ellipsis\n  ",{display:"inline-block",maxWidth:"100%"}),(0,o.Z)(e,"&-single-line",{whiteSpace:"nowrap"}),(0,o.Z)(e,"&-ellipsis-single-line",{overflow:"hidden",textOverflow:"ellipsis","a&, span&":{verticalAlign:"bottom"}}),(0,o.Z)(e,"&-ellipsis-multiple-line",{display:"-webkit-box",overflow:"hidden",WebkitLineClamp:3,WebkitBoxOrient:"vertical"}),e}()),{"&-rtl":{direction:"rtl"}}))},_=(0,M.Z)("Typography",(function(e){return[I(e)]}),{sizeMarginHeadingVerticalStart:"1.2em",sizeMarginHeadingVerticalEnd:"0.5em"}),z=function(e){var t=e.prefixCls,n=e["aria-label"],a=e.className,l=e.style,c=e.direction,s=e.maxLength,d=e.autoSize,f=void 0===d||d,p=e.value,h=e.onSave,m=e.onCancel,v=e.onEnd,g=e.component,b=e.enterIcon,y=void 0===b?r.createElement(Z,null):b,w=r.useRef(null),x=r.useRef(!1),C=r.useRef(),E=r.useState(p),S=(0,i.Z)(E,2),O=S[0],D=S[1];r.useEffect((function(){D(p)}),[p]),r.useEffect((function(){if(w.current&&w.current.resizableTextArea){var e=w.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}),[]);var N=function(){h(O.trim())},L=g?"".concat(t,"-").concat(g):"",j=_(t),A=(0,i.Z)(j,2),M=A[0],R=A[1],B=u()(t,"".concat(t,"-edit-content"),(0,o.Z)({},"".concat(t,"-rtl"),"rtl"===c),a,L,R);return M(r.createElement("div",{className:B,style:l},r.createElement(P.Z,{ref:w,maxLength:s,value:O,onChange:function(e){var t=e.target;D(t.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;x.current||(C.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,o=e.metaKey,i=e.shiftKey;C.current!==t||x.current||n||r||o||i||(t===k.Z.ENTER?(N(),null===v||void 0===v||v()):t===k.Z.ESC&&m())},onCompositionStart:function(){x.current=!0},onCompositionEnd:function(){x.current=!1},onBlur:function(){N()},"aria-label":n,rows:1,autoSize:f}),null!==y?(0,T.Tm)(y,{className:"".concat(t,"-edit-content-confirm")}):null))};function H(e,t){return r.useMemo((function(){var n=!!e;return[n,Object.assign(Object.assign({},t),n&&"object"===typeof e?e:null)]}),[e])}var V=function(e,t){var n=r.useRef(!1);r.useEffect((function(){n.current?e():n.current=!0}),t)},W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var G=r.forwardRef((function(e,t){var n=e.prefixCls,a=e.component,l=void 0===a?"article":a,c=e.className,s=e.setContentRef,d=e.children,f=e.direction,p=W(e,["prefixCls","component","className","setContentRef","children","direction"]),h=r.useContext(y.E_),m=h.getPrefixCls,v=h.direction,g=null!==f&&void 0!==f?f:v,w=t;s&&(w=(0,b.sQ)(t,s));var k=m("typography",n),x=_(k),C=(0,i.Z)(x,2),E=C[0],S=C[1],O=u()(k,(0,o.Z)({},"".concat(k,"-rtl"),"rtl"===g),c,S);return E(r.createElement(l,Object.assign({className:O,ref:w},p),d))}));function $(e){var t=typeof e;return"string"===t||"number"===t}function U(e,t){for(var n=0,r=[],o=0;o<e.length;o+=1){if(n===t)return r;var i=e[o],a=n+($(i)?String(i).length:1);if(a>t){var l=t-n;return r.push(String(i).slice(0,l)),r}r.push(i),n=a}return e}var X=function(e){var t=e.enabledMeasure,n=e.children,o=e.text,a=e.width,l=e.fontSize,c=e.rows,s=e.onEllipsis,u=r.useState([0,0,0]),d=(0,i.Z)(u,2),f=(0,i.Z)(d[0],3),p=f[0],v=f[1],g=f[2],b=d[1],y=r.useState(0),w=(0,i.Z)(y,2),k=w[0],x=w[1],C=r.useState(0),E=(0,i.Z)(C,2),S=E[0],O=E[1],D=r.useRef(null),N=r.useRef(null),L=r.useMemo((function(){return(0,h.Z)(o)}),[o]),j=r.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){$(e)?t+=String(e).length:t+=1})),t}(L)}),[L]),A=r.useMemo((function(){return t&&3===k?n(U(L,v),v<j):n(L,!1)}),[t,k,n,L,v,j]);(0,m.Z)((function(){t&&a&&l&&j&&(x(1),b([0,Math.ceil(j/2),j]))}),[t,a,l,o,j,c]),(0,m.Z)((function(){var e;1===k&&O((null===(e=D.current)||void 0===e?void 0:e.offsetHeight)||0)}),[k]),(0,m.Z)((function(){var e,t;if(S)if(1===k)((null===(e=N.current)||void 0===e?void 0:e.offsetHeight)||0)<=c*S?(x(4),s(!1)):x(2);else if(2===k)if(p!==g){var n=(null===(t=N.current)||void 0===t?void 0:t.offsetHeight)||0,r=p,o=g;p===g-1?o=p:n<=c*S?r=v:o=v;var i=Math.ceil((r+o)/2);b([r,i,o])}else x(3),s(!0)}),[k,p,g,c,S]);var Z={width:a,whiteSpace:"normal",margin:0,padding:0},P=function(e,t,n){return r.createElement("span",{"aria-hidden":!0,ref:t,style:Object.assign({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:2*Math.floor(l/2)},n)},e)};return r.createElement(r.Fragment,null,A,t&&3!==k&&4!==k&&r.createElement(r.Fragment,null,P("lg",D,{wordBreak:"keep-all",whiteSpace:"nowrap"}),1===k?P(n(L,!1),N,Z):function(e,t){var r=U(L,e);return P(n(r,!0),t,Z)}(v,N)))};var q=function(e){var t=e.enabledEllipsis,n=e.isEllipsis,o=e.children,i=e.tooltipProps;return(null===i||void 0===i?void 0:i.title)&&t?r.createElement(D.Z,Object.assign({open:!!n&&void 0},i),o):o},J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Y(e,t,n){return!0===e||void 0===e?t:e||n&&t}function K(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var Q=r.forwardRef((function(e,t){var n,s,d,k=e.prefixCls,x=e.className,C=e.style,E=e.type,N=e.disabled,L=e.children,j=e.ellipsis,A=e.editable,Z=e.copyable,P=e.component,T=e.title,M=J(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),R=r.useContext(y.E_),B=R.getPrefixCls,F=R.direction,I=(0,w.E)("Text")[0],_=r.useRef(null),W=r.useRef(null),$=B("typography",k),U=(0,g.Z)(M,["mark","code","delete","underline","strong","keyboard","italic"]),Q=H(A),ee=(0,i.Z)(Q,2),te=ee[0],ne=ee[1],re=(0,v.Z)(!1,{value:ne.editing}),oe=(0,i.Z)(re,2),ie=oe[0],ae=oe[1],le=ne.triggerType,ce=void 0===le?["icon"]:le,se=function(e){var t;e&&(null===(t=ne.onStart)||void 0===t||t.call(ne)),ae(e)};V((function(){var e;ie||null===(e=W.current)||void 0===e||e.focus()}),[ie]);var ue=function(e){null===e||void 0===e||e.preventDefault(),se(!0)},de=H(Z),fe=(0,i.Z)(de,2),pe=fe[0],he=fe[1],me=r.useState(!1),ve=(0,i.Z)(me,2),ge=ve[0],be=ve[1],ye=r.useRef(),we={};he.format&&(we.format=he.format);var ke=function(){window.clearTimeout(ye.current)},xe=function(e){var t;null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),f()(he.text||String(L)||"",we),be(!0),ke(),ye.current=window.setTimeout((function(){be(!1)}),3e3),null===(t=he.onCopy)||void 0===t||t.call(he,e)};r.useEffect((function(){return ke}),[]);var Ce=r.useState(!1),Ee=(0,i.Z)(Ce,2),Se=Ee[0],Oe=Ee[1],De=r.useState(!1),Ne=(0,i.Z)(De,2),Le=Ne[0],je=Ne[1],Ae=r.useState(!1),Ze=(0,i.Z)(Ae,2),Pe=Ze[0],Te=Ze[1],Me=r.useState(!1),Re=(0,i.Z)(Me,2),Be=Re[0],Fe=Re[1],Ie=r.useState(!1),_e=(0,i.Z)(Ie,2),ze=_e[0],He=_e[1],Ve=r.useState(!0),We=(0,i.Z)(Ve,2),Ge=We[0],$e=We[1],Ue=H(j,{expandable:!1}),Xe=(0,i.Z)(Ue,2),qe=Xe[0],Je=Xe[1],Ye=qe&&!Pe,Ke=Je.rows,Qe=void 0===Ke?1:Ke,et=r.useMemo((function(){return!Ye||void 0!==Je.suffix||Je.onEllipsis||Je.expandable||te||pe}),[Ye,Je,te,pe]);(0,m.Z)((function(){qe&&!et&&(Oe((0,O.G)("webkitLineClamp")),je((0,O.G)("textOverflow")))}),[et,qe]);var tt=r.useMemo((function(){return!et&&(1===Qe?Le:Se)}),[et,Le,Se]),nt=Ye&&(tt?ze:Be),rt=Ye&&1===Qe&&tt,ot=Ye&&Qe>1&&tt,it=function(e){var t;Te(!0),null===(t=Je.onExpand)||void 0===t||t.call(Je,e)},at=r.useState(0),lt=(0,i.Z)(at,2),ct=lt[0],st=lt[1],ut=r.useState(0),dt=(0,i.Z)(ut,2),ft=dt[0],pt=dt[1],ht=function(e){var t;Fe(e),Be!==e&&(null===(t=Je.onEllipsis)||void 0===t||t.call(Je,e))};r.useEffect((function(){var e=_.current;if(qe&&tt&&e){var t=ot?e.offsetHeight<e.scrollHeight:e.offsetWidth<e.scrollWidth;ze!==t&&He(t)}}),[qe,tt,L,ot,Ge]),r.useEffect((function(){var e=_.current;if("undefined"!==typeof IntersectionObserver&&e&&tt&&Ye){var t=new IntersectionObserver((function(){$e(!!e.offsetParent)}));return t.observe(e),function(){t.disconnect()}}}),[tt,Ye]);var mt={};mt=!0===Je.tooltip?{title:null!==(n=ne.text)&&void 0!==n?n:L}:r.isValidElement(Je.tooltip)?{title:Je.tooltip}:"object"===typeof Je.tooltip?Object.assign({title:null!==(s=ne.text)&&void 0!==s?s:L},Je.tooltip):{title:Je.tooltip};var vt=r.useMemo((function(){var e=function(e){return["string","number"].includes(typeof e)};if(qe&&!tt)return e(ne.text)?ne.text:e(L)?L:e(T)?T:e(mt.title)?mt.title:void 0}),[qe,tt,T,mt.title,nt]);if(ie)return r.createElement(z,{value:null!==(d=ne.text)&&void 0!==d?d:"string"===typeof L?L:"",onSave:function(e){var t;null===(t=ne.onChange)||void 0===t||t.call(ne,e),se(!1)},onCancel:function(){var e;null===(e=ne.onCancel)||void 0===e||e.call(ne),se(!1)},onEnd:ne.onEnd,prefixCls:$,className:x,style:C,direction:F,component:P,maxLength:ne.maxLength,autoSize:ne.autoSize,enterIcon:ne.enterIcon});var gt=function(){var e,t=Je.expandable,n=Je.symbol;return t?(e=n||I.expand,r.createElement("a",{key:"expand",className:"".concat($,"-expand"),onClick:it,"aria-label":I.expand},e)):null},bt=function(){if(te){var e=ne.icon,t=ne.tooltip,n=(0,h.Z)(t)[0]||I.edit,o="string"===typeof n?n:"";return ce.includes("icon")?r.createElement(D.Z,{key:"edit",title:!1===t?"":n},r.createElement(S,{ref:W,className:"".concat($,"-edit"),onClick:ue,"aria-label":o},e||r.createElement(c.Z,{role:"button"}))):null}},yt=function(){if(pe){var e=he.tooltips,t=he.icon,n=K(e),o=K(t),i=ge?Y(n[1],I.copied):Y(n[0],I.copy),c=ge?I.copied:I.copy,s="string"===typeof i?i:c;return r.createElement(D.Z,{key:"copy",title:i},r.createElement(S,{className:u()("".concat($,"-copy"),ge&&"".concat($,"-copy-success")),onClick:xe,"aria-label":s},ge?Y(o[1],r.createElement(a.Z,null),!0):Y(o[0],r.createElement(l.Z,null),!0)))}};return r.createElement(p.Z,{onResize:function(e,t){var n,r=e.offsetWidth;st(r),pt(parseInt(null===(n=window.getComputedStyle)||void 0===n?void 0:n.call(window,t).fontSize,10)||0)},disabled:!Ye||tt},(function(n){var i;return r.createElement(q,{tooltipProps:mt,enabledEllipsis:Ye,isEllipsis:nt},r.createElement(G,Object.assign({className:u()((i={},(0,o.Z)(i,"".concat($,"-").concat(E),E),(0,o.Z)(i,"".concat($,"-disabled"),N),(0,o.Z)(i,"".concat($,"-ellipsis"),qe),(0,o.Z)(i,"".concat($,"-single-line"),Ye&&1===Qe),(0,o.Z)(i,"".concat($,"-ellipsis-single-line"),rt),(0,o.Z)(i,"".concat($,"-ellipsis-multiple-line"),ot),i),x),prefixCls:k,style:Object.assign(Object.assign({},C),{WebkitLineClamp:ot?Qe:void 0}),component:P,ref:(0,b.sQ)(n,_,t),direction:F,onClick:ce.includes("text")?ue:void 0,"aria-label":null===vt||void 0===vt?void 0:vt.toString(),title:T},U),r.createElement(X,{enabledMeasure:Ye&&!tt,text:L,rows:Qe,width:ct,fontSize:ft,onEllipsis:ht},(function(t,n){var o=t;t.length&&n&&vt&&(o=r.createElement("span",{key:"show-content","aria-hidden":!0},o));var i=function(e,t){var n=e.mark,o=e.code,i=e.underline,a=e.delete,l=e.strong,c=e.keyboard,s=e.italic,u=t;function d(e,t){t&&(u=r.createElement(e,{},u))}return d("strong",l),d("u",i),d("del",a),d("code",o),d("mark",n),d("kbd",c),d("i",s),u}(e,r.createElement(r.Fragment,null,o,function(e){return[e&&r.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),Je.suffix,(t=e,[t&&gt(),bt(),yt()])];var t}(n)));return i}))))}))})),ee=Q,te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ne=r.forwardRef((function(e,t){var n=e.ellipsis,o=e.rel,i=te(e,["ellipsis","rel"]),a=Object.assign(Object.assign({},i),{rel:void 0===o&&"_blank"===i.target?"noopener noreferrer":o});return delete a.navigate,r.createElement(ee,Object.assign({},a,{ref:t,ellipsis:!!n,component:"a"}))})),re=r.forwardRef((function(e,t){return r.createElement(ee,Object.assign({ref:t},e,{component:"div"}))})),oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ie=function(e,t){var n=e.ellipsis,o=oe(e,["ellipsis"]),i=r.useMemo((function(){return n&&"object"===typeof n?(0,g.Z)(n,["expandable","rows"]):n}),[n]);return r.createElement(ee,Object.assign({ref:t},o,{ellipsis:i,component:"span"}))},ae=r.forwardRef(ie),le=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ce=[1,2,3,4,5],se=r.forwardRef((function(e,t){var n,o=e.level,i=void 0===o?1:o,a=le(e,["level"]);return n=ce.includes(i)?"h".concat(i):"h1",r.createElement(ee,Object.assign({ref:t},a,{component:n}))})),ue=G;ue.Text=ae,ue.Link=ne,ue.Title=se,ue.Paragraph=re;var de=ue},76998:function(e,t,n){"use strict";var r=n(42458),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,i,a,l,c,s,u=!1;t||(t={}),n=t.debug||!1;try{if(a=r(),l=document.createRange(),c=document.getSelection(),(s=document.createElement("span")).textContent=e,s.ariaHidden="true",s.style.all="unset",s.style.position="fixed",s.style.top=0,s.style.clip="rect(0, 0, 0, 0)",s.style.whiteSpace="pre",s.style.webkitUserSelect="text",s.style.MozUserSelect="text",s.style.msUserSelect="text",s.style.userSelect="text",s.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[t.format]||o.default;window.clipboardData.setData(i,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(s),l.selectNodeContents(s),c.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),i=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(l):c.removeAllRanges()),s&&document.body.removeChild(s),a()}return u}},75836:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertChangesToDMP=function(e){for(var t,n,r=[],o=0;o<e.length;o++)n=(t=e[o]).added?1:t.removed?-1:0,r.push([n,t.value]);return r}},73662:function(e,t){"use strict";function n(e){var t=e;return t=(t=(t=(t=t.replace(/&/g,"&amp;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;")).replace(/"/g,"&quot;")}Object.defineProperty(t,"__esModule",{value:!0}),t.convertChangesToXML=function(e){for(var t=[],r=0;r<e.length;r++){var o=e[r];o.added?t.push("<ins>"):o.removed&&t.push("<del>"),t.push(n(o.value)),o.added?t.push("</ins>"):o.removed&&t.push("</del>")}return t.join("")}},33723:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.diffArrays=function(e,t,n){return o.diff(e,t,n)},t.arrayDiff=void 0;var o=new(((r=n(39878))&&r.__esModule?r:{default:r}).default);t.arrayDiff=o,o.tokenize=function(e){return e.slice()},o.join=o.removeEmpty=function(e){return e}},39878:function(e,t){"use strict";function n(){}function r(e,t,n,r,o){for(var i=0,a=t.length,l=0,c=0;i<a;i++){var s=t[i];if(s.removed){if(s.value=e.join(r.slice(c,c+s.count)),c+=s.count,i&&t[i-1].added){var u=t[i-1];t[i-1]=t[i],t[i]=u}}else{if(!s.added&&o){var d=n.slice(l,l+s.count);d=d.map((function(e,t){var n=r[c+t];return n.length>e.length?n:e})),s.value=e.join(d)}else s.value=e.join(n.slice(l,l+s.count));l+=s.count,s.added||(c+=s.count)}}var f=t[a-1];return a>1&&"string"===typeof f.value&&(f.added||f.removed)&&e.equals("",f.value)&&(t[a-2].value+=f.value,t.pop()),t}function o(e){return{newPos:e.newPos,components:e.components.slice(0)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.prototype={diff:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.callback;"function"===typeof n&&(i=n,n={}),this.options=n;var a=this;function l(e){return i?(setTimeout((function(){i(void 0,e)}),0),!0):e}e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e));var c=(t=this.removeEmpty(this.tokenize(t))).length,s=e.length,u=1,d=c+s;n.maxEditLength&&(d=Math.min(d,n.maxEditLength));var f=[{newPos:-1,components:[]}],p=this.extractCommon(f[0],t,e,0);if(f[0].newPos+1>=c&&p+1>=s)return l([{value:this.join(t),count:t.length}]);function h(){for(var n=-1*u;n<=u;n+=2){var i=void 0,d=f[n-1],p=f[n+1],h=(p?p.newPos:0)-n;d&&(f[n-1]=void 0);var m=d&&d.newPos+1<c,v=p&&0<=h&&h<s;if(m||v){if(!m||v&&d.newPos<p.newPos?(i=o(p),a.pushComponent(i.components,void 0,!0)):((i=d).newPos++,a.pushComponent(i.components,!0,void 0)),h=a.extractCommon(i,t,e,n),i.newPos+1>=c&&h+1>=s)return l(r(a,i.components,t,e,a.useLongestToken));f[n]=i}else f[n]=void 0}u++}if(i)!function e(){setTimeout((function(){if(u>d)return i();h()||e()}),0)}();else for(;u<=d;){var m=h();if(m)return m}},pushComponent:function(e,t,n){var r=e[e.length-1];r&&r.added===t&&r.removed===n?e[e.length-1]={count:r.count+1,added:t,removed:n}:e.push({count:1,added:t,removed:n})},extractCommon:function(e,t,n,r){for(var o=t.length,i=n.length,a=e.newPos,l=a-r,c=0;a+1<o&&l+1<i&&this.equals(t[a+1],n[l+1]);)a++,l++,c++;return c&&e.components.push({count:c}),e.newPos=a,l},equals:function(e,t){return this.options.comparator?this.options.comparator(e,t):e===t||this.options.ignoreCase&&e.toLowerCase()===t.toLowerCase()},removeEmpty:function(e){for(var t=[],n=0;n<e.length;n++)e[n]&&t.push(e[n]);return t},castInput:function(e){return e},tokenize:function(e){return e.split("")},join:function(e){return e.join("")}}},47992:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.diffChars=function(e,t,n){return o.diff(e,t,n)},t.characterDiff=void 0;var o=new(((r=n(39878))&&r.__esModule?r:{default:r}).default);t.characterDiff=o},21197:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.diffCss=function(e,t,n){return o.diff(e,t,n)},t.cssDiff=void 0;var o=new(((r=n(39878))&&r.__esModule?r:{default:r}).default);t.cssDiff=o,o.tokenize=function(e){return e.split(/([{}:;,]|\s+)/)}},84614:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffJson=function(e,t,n){return c.diff(e,t,n)},t.canonicalize=s,t.jsonDiff=void 0;var r,o=(r=n(39878))&&r.__esModule?r:{default:r},i=n(94979);function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var l=Object.prototype.toString,c=new o.default;function s(e,t,n,r,o){var i,c;for(t=t||[],n=n||[],r&&(e=r(o,e)),i=0;i<t.length;i+=1)if(t[i]===e)return n[i];if("[object Array]"===l.call(e)){for(t.push(e),c=new Array(e.length),n.push(c),i=0;i<e.length;i+=1)c[i]=s(e[i],t,n,r,o);return t.pop(),n.pop(),c}if(e&&e.toJSON&&(e=e.toJSON()),"object"===a(e)&&null!==e){t.push(e),c={},n.push(c);var u,d=[];for(u in e)e.hasOwnProperty(u)&&d.push(u);for(d.sort(),i=0;i<d.length;i+=1)c[u=d[i]]=s(e[u],t,n,r,u);t.pop(),n.pop()}else c=e;return c}t.jsonDiff=c,c.useLongestToken=!0,c.tokenize=i.lineDiff.tokenize,c.castInput=function(e){var t=this.options,n=t.undefinedReplacement,r=t.stringifyReplacer,o=void 0===r?function(e,t){return"undefined"===typeof t?n:t}:r;return"string"===typeof e?e:JSON.stringify(s(e,null,null,o),o,"  ")},c.equals=function(e,t){return o.default.prototype.equals.call(c,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))}},94979:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffLines=function(e,t,n){return a.diff(e,t,n)},t.diffTrimmedLines=function(e,t,n){var r=(0,i.generateOptions)(n,{ignoreWhitespace:!0});return a.diff(e,t,r)},t.lineDiff=void 0;var r,o=(r=n(39878))&&r.__esModule?r:{default:r},i=n(35388);var a=new o.default;t.lineDiff=a,a.tokenize=function(e){var t=[],n=e.split(/(\n|\r\n)/);n[n.length-1]||n.pop();for(var r=0;r<n.length;r++){var o=n[r];r%2&&!this.options.newlineIsToken?t[t.length-1]+=o:(this.options.ignoreWhitespace&&(o=o.trim()),t.push(o))}return t}},51304:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.diffSentences=function(e,t,n){return o.diff(e,t,n)},t.sentenceDiff=void 0;var o=new(((r=n(39878))&&r.__esModule?r:{default:r}).default);t.sentenceDiff=o,o.tokenize=function(e){return e.split(/(\S.+?[.!?])(?=\s+|$)/)}},62809:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.diffWords=function(e,t,n){return n=(0,i.generateOptions)(n,{ignoreWhitespace:!0}),c.diff(e,t,n)},t.diffWordsWithSpace=function(e,t,n){return c.diff(e,t,n)},t.wordDiff=void 0;var r,o=(r=n(39878))&&r.__esModule?r:{default:r},i=n(35388);var a=/^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/,l=/\S/,c=new o.default;t.wordDiff=c,c.equals=function(e,t){return this.options.ignoreCase&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t||this.options.ignoreWhitespace&&!l.test(e)&&!l.test(t)},c.tokenize=function(e){for(var t=e.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/),n=0;n<t.length-1;n++)!t[n+1]&&t[n+2]&&a.test(t[n])&&a.test(t[n+2])&&(t[n]+=t[n+2],t.splice(n+1,2),n--);return t}},31559:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Diff",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"diffChars",{enumerable:!0,get:function(){return i.diffChars}}),Object.defineProperty(t,"diffWords",{enumerable:!0,get:function(){return a.diffWords}}),Object.defineProperty(t,"diffWordsWithSpace",{enumerable:!0,get:function(){return a.diffWordsWithSpace}}),Object.defineProperty(t,"diffLines",{enumerable:!0,get:function(){return l.diffLines}}),Object.defineProperty(t,"diffTrimmedLines",{enumerable:!0,get:function(){return l.diffTrimmedLines}}),Object.defineProperty(t,"diffSentences",{enumerable:!0,get:function(){return c.diffSentences}}),Object.defineProperty(t,"diffCss",{enumerable:!0,get:function(){return s.diffCss}}),Object.defineProperty(t,"diffJson",{enumerable:!0,get:function(){return u.diffJson}}),Object.defineProperty(t,"canonicalize",{enumerable:!0,get:function(){return u.canonicalize}}),Object.defineProperty(t,"diffArrays",{enumerable:!0,get:function(){return d.diffArrays}}),Object.defineProperty(t,"applyPatch",{enumerable:!0,get:function(){return f.applyPatch}}),Object.defineProperty(t,"applyPatches",{enumerable:!0,get:function(){return f.applyPatches}}),Object.defineProperty(t,"parsePatch",{enumerable:!0,get:function(){return p.parsePatch}}),Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return h.merge}}),Object.defineProperty(t,"structuredPatch",{enumerable:!0,get:function(){return m.structuredPatch}}),Object.defineProperty(t,"createTwoFilesPatch",{enumerable:!0,get:function(){return m.createTwoFilesPatch}}),Object.defineProperty(t,"createPatch",{enumerable:!0,get:function(){return m.createPatch}}),Object.defineProperty(t,"convertChangesToDMP",{enumerable:!0,get:function(){return v.convertChangesToDMP}}),Object.defineProperty(t,"convertChangesToXML",{enumerable:!0,get:function(){return g.convertChangesToXML}});var r,o=(r=n(39878))&&r.__esModule?r:{default:r},i=n(47992),a=n(62809),l=n(94979),c=n(51304),s=n(21197),u=n(84614),d=n(33723),f=n(28602),p=n(6970),h=n(81179),m=n(83600),v=n(75836),g=n(73662)},28602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyPatch=a,t.applyPatches=function(e,t){"string"===typeof e&&(e=(0,o.parsePatch)(e));var n=0;!function r(){var o=e[n++];if(!o)return t.complete();t.loadFile(o,(function(e,n){if(e)return t.complete(e);var i=a(n,o,t);t.patched(o,i,(function(e){if(e)return t.complete(e);r()}))}))}()};var r,o=n(6970),i=(r=n(18043))&&r.__esModule?r:{default:r};function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"===typeof t&&(t=(0,o.parsePatch)(t)),Array.isArray(t)){if(t.length>1)throw new Error("applyPatch only works with a single input.");t=t[0]}var r,a,l=e.split(/\r\n|[\n\v\f\r\x85]/),c=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],s=t.hunks,u=n.compareLine||function(e,t,n,r){return t===r},d=0,f=n.fuzzFactor||0,p=0,h=0;function m(e,t){for(var n=0;n<e.lines.length;n++){var r=e.lines[n],o=r.length>0?r[0]:" ",i=r.length>0?r.substr(1):r;if(" "===o||"-"===o){if(!u(t+1,l[t],o,i)&&++d>f)return!1;t++}}return!0}for(var v=0;v<s.length;v++){for(var g=s[v],b=l.length-g.oldLines,y=0,w=h+g.oldStart-1,k=(0,i.default)(w,p,b);void 0!==y;y=k())if(m(g,w+y)){g.offset=h+=y;break}if(void 0===y)return!1;p=g.offset+g.oldStart+g.oldLines}for(var x=0,C=0;C<s.length;C++){var E=s[C],S=E.oldStart+E.offset+x-1;x+=E.newLines-E.oldLines;for(var O=0;O<E.lines.length;O++){var D=E.lines[O],N=D.length>0?D[0]:" ",L=D.length>0?D.substr(1):D,j=E.linedelimiters[O];if(" "===N)S++;else if("-"===N)l.splice(S,1),c.splice(S,1);else if("+"===N)l.splice(S,0,L),c.splice(S,0,j),S++;else if("\\"===N){var A=E.lines[O-1]?E.lines[O-1][0]:null;"+"===A?r=!0:"-"===A&&(a=!0)}}}if(r)for(;!l[l.length-1];)l.pop(),c.pop();else a&&(l.push(""),c.push("\n"));for(var Z=0;Z<l.length-1;Z++)l[Z]=l[Z]+c[Z];return l.join("")}},83600:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.structuredPatch=a,t.formatPatch=l,t.createTwoFilesPatch=c,t.createPatch=function(e,t,n,r,o,i){return c(e,e,t,n,r,o,i)};var r=n(94979);function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t,n,i,a,l,c){c||(c={}),"undefined"===typeof c.context&&(c.context=4);var s=(0,r.diffLines)(n,i,c);if(s){s.push({value:"",lines:[]});for(var u=[],d=0,f=0,p=[],h=1,m=1,v=function(e){var t=s[e],r=t.lines||t.value.replace(/\n$/,"").split("\n");if(t.lines=r,t.added||t.removed){var a;if(!d){var l=s[e-1];d=h,f=m,l&&(p=c.context>0?b(l.lines.slice(-c.context)):[],d-=p.length,f-=p.length)}(a=p).push.apply(a,o(r.map((function(e){return(t.added?"+":"-")+e})))),t.added?m+=r.length:h+=r.length}else{if(d)if(r.length<=2*c.context&&e<s.length-2){var v;(v=p).push.apply(v,o(b(r)))}else{var g,y=Math.min(r.length,c.context);(g=p).push.apply(g,o(b(r.slice(0,y))));var w={oldStart:d,oldLines:h-d+y,newStart:f,newLines:m-f+y,lines:p};if(e>=s.length-2&&r.length<=c.context){var k=/\n$/.test(n),x=/\n$/.test(i),C=0==r.length&&p.length>w.oldLines;!k&&C&&n.length>0&&p.splice(w.oldLines,0,"\\ No newline at end of file"),(k||C)&&x||p.push("\\ No newline at end of file")}u.push(w),d=0,f=0,p=[]}h+=r.length,m+=r.length}},g=0;g<s.length;g++)v(g);return{oldFileName:e,newFileName:t,oldHeader:a,newHeader:l,hunks:u}}function b(e){return e.map((function(e){return" "+e}))}}function l(e){var t=[];e.oldFileName==e.newFileName&&t.push("Index: "+e.oldFileName),t.push("==================================================================="),t.push("--- "+e.oldFileName+("undefined"===typeof e.oldHeader?"":"\t"+e.oldHeader)),t.push("+++ "+e.newFileName+("undefined"===typeof e.newHeader?"":"\t"+e.newHeader));for(var n=0;n<e.hunks.length;n++){var r=e.hunks[n];0===r.oldLines&&(r.oldStart-=1),0===r.newLines&&(r.newStart-=1),t.push("@@ -"+r.oldStart+","+r.oldLines+" +"+r.newStart+","+r.newLines+" @@"),t.push.apply(t,r.lines)}return t.join("\n")+"\n"}function c(e,t,n,r,o,i,c){return l(a(e,t,n,r,o,i,c))}},81179:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.calcLineCount=c,t.merge=function(e,t,n){e=s(e,n),t=s(t,n);var r={};(e.index||t.index)&&(r.index=e.index||t.index);(e.newFileName||t.newFileName)&&(u(e)?u(t)?(r.oldFileName=d(r,e.oldFileName,t.oldFileName),r.newFileName=d(r,e.newFileName,t.newFileName),r.oldHeader=d(r,e.oldHeader,t.oldHeader),r.newHeader=d(r,e.newHeader,t.newHeader)):(r.oldFileName=e.oldFileName,r.newFileName=e.newFileName,r.oldHeader=e.oldHeader,r.newHeader=e.newHeader):(r.oldFileName=t.oldFileName||e.oldFileName,r.newFileName=t.newFileName||e.newFileName,r.oldHeader=t.oldHeader||e.oldHeader,r.newHeader=t.newHeader||e.newHeader));r.hunks=[];var o=0,i=0,a=0,l=0;for(;o<e.hunks.length||i<t.hunks.length;){var c=e.hunks[o]||{oldStart:1/0},m=t.hunks[i]||{oldStart:1/0};if(f(c,m))r.hunks.push(p(c,a)),o++,l+=c.newLines-c.oldLines;else if(f(m,c))r.hunks.push(p(m,l)),i++,a+=m.newLines-m.oldLines;else{var v={oldStart:Math.min(c.oldStart,m.oldStart),oldLines:0,newStart:Math.min(c.newStart+a,m.oldStart+l),newLines:0,lines:[]};h(v,c.oldStart,c.lines,m.oldStart,m.lines),i++,o++,r.hunks.push(v)}}return r};var r=n(83600),o=n(6970),i=n(62973);function a(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){var t=C(e.lines),n=t.oldLines,r=t.newLines;void 0!==n?e.oldLines=n:delete e.oldLines,void 0!==r?e.newLines=r:delete e.newLines}function s(e,t){if("string"===typeof e){if(/^@@/m.test(e)||/^Index:/m.test(e))return(0,o.parsePatch)(e)[0];if(!t)throw new Error("Must provide a base reference or pass in a patch");return(0,r.structuredPatch)(void 0,void 0,t,e)}return e}function u(e){return e.newFileName&&e.newFileName!==e.oldFileName}function d(e,t,n){return t===n?t:(e.conflict=!0,{mine:t,theirs:n})}function f(e,t){return e.oldStart<t.oldStart&&e.oldStart+e.oldLines<t.oldStart}function p(e,t){return{oldStart:e.oldStart,oldLines:e.oldLines,newStart:e.newStart+t,newLines:e.newLines,lines:e.lines}}function h(e,t,n,r,o){var i={offset:t,lines:n,index:0},l={offset:r,lines:o,index:0};for(b(e,i,l),b(e,l,i);i.index<i.lines.length&&l.index<l.lines.length;){var s=i.lines[i.index],u=l.lines[l.index];if("-"!==s[0]&&"+"!==s[0]||"-"!==u[0]&&"+"!==u[0])if("+"===s[0]&&" "===u[0]){var d;(d=e.lines).push.apply(d,a(w(i)))}else if("+"===u[0]&&" "===s[0]){var f;(f=e.lines).push.apply(f,a(w(l)))}else"-"===s[0]&&" "===u[0]?v(e,i,l):"-"===u[0]&&" "===s[0]?v(e,l,i,!0):s===u?(e.lines.push(s),i.index++,l.index++):g(e,w(i),w(l));else m(e,i,l)}y(e,i),y(e,l),c(e)}function m(e,t,n){var r=w(t),o=w(n);if(k(r)&&k(o)){var l,c;if((0,i.arrayStartsWith)(r,o)&&x(n,r,r.length-o.length))return void(l=e.lines).push.apply(l,a(r));if((0,i.arrayStartsWith)(o,r)&&x(t,o,o.length-r.length))return void(c=e.lines).push.apply(c,a(o))}else if((0,i.arrayEqual)(r,o)){var s;return void(s=e.lines).push.apply(s,a(r))}g(e,r,o)}function v(e,t,n,r){var o,i=w(t),l=function(e,t){var n=[],r=[],o=0,i=!1,a=!1;for(;o<t.length&&e.index<e.lines.length;){var l=e.lines[e.index],c=t[o];if("+"===c[0])break;if(i=i||" "!==l[0],r.push(c),o++,"+"===l[0])for(a=!0;"+"===l[0];)n.push(l),l=e.lines[++e.index];c.substr(1)===l.substr(1)?(n.push(l),e.index++):a=!0}"+"===(t[o]||"")[0]&&i&&(a=!0);if(a)return n;for(;o<t.length;)r.push(t[o++]);return{merged:r,changes:n}}(n,i);l.merged?(o=e.lines).push.apply(o,a(l.merged)):g(e,r?l:i,r?i:l)}function g(e,t,n){e.conflict=!0,e.lines.push({conflict:!0,mine:t,theirs:n})}function b(e,t,n){for(;t.offset<n.offset&&t.index<t.lines.length;){var r=t.lines[t.index++];e.lines.push(r),t.offset++}}function y(e,t){for(;t.index<t.lines.length;){var n=t.lines[t.index++];e.lines.push(n)}}function w(e){for(var t=[],n=e.lines[e.index][0];e.index<e.lines.length;){var r=e.lines[e.index];if("-"===n&&"+"===r[0]&&(n="+"),n!==r[0])break;t.push(r),e.index++}return t}function k(e){return e.reduce((function(e,t){return e&&"-"===t[0]}),!0)}function x(e,t,n){for(var r=0;r<n;r++){var o=t[t.length-n+r].substr(1);if(e.lines[e.index+r]!==" "+o)return!1}return e.index+=n,!0}function C(e){var t=0,n=0;return e.forEach((function(e){if("string"!==typeof e){var r=C(e.mine),o=C(e.theirs);void 0!==t&&(r.oldLines===o.oldLines?t+=r.oldLines:t=void 0),void 0!==n&&(r.newLines===o.newLines?n+=r.newLines:n=void 0)}else void 0===n||"+"!==e[0]&&" "!==e[0]||n++,void 0===t||"-"!==e[0]&&" "!==e[0]||t++})),{oldLines:t,newLines:n}}},6970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parsePatch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.split(/\r\n|[\n\v\f\r\x85]/),r=e.match(/\r\n|[\n\v\f\r\x85]/g)||[],o=[],i=0;function a(){var e={};for(o.push(e);i<n.length;){var r=n[i];if(/^(\-\-\-|\+\+\+|@@)\s/.test(r))break;var a=/^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(r);a&&(e.index=a[1]),i++}for(l(e),l(e),e.hunks=[];i<n.length;){var s=n[i];if(/^(Index:|diff|\-\-\-|\+\+\+)\s/.test(s))break;if(/^@@/.test(s))e.hunks.push(c());else{if(s&&t.strict)throw new Error("Unknown line "+(i+1)+" "+JSON.stringify(s));i++}}}function l(e){var t=/^(---|\+\+\+)\s+(.*)$/.exec(n[i]);if(t){var r="---"===t[1]?"old":"new",o=t[2].split("\t",2),a=o[0].replace(/\\\\/g,"\\");/^".*"$/.test(a)&&(a=a.substr(1,a.length-2)),e[r+"FileName"]=a,e[r+"Header"]=(o[1]||"").trim(),i++}}function c(){var e=i,o=n[i++].split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),a={oldStart:+o[1],oldLines:"undefined"===typeof o[2]?1:+o[2],newStart:+o[3],newLines:"undefined"===typeof o[4]?1:+o[4],lines:[],linedelimiters:[]};0===a.oldLines&&(a.oldStart+=1),0===a.newLines&&(a.newStart+=1);for(var l=0,c=0;i<n.length&&!(0===n[i].indexOf("--- ")&&i+2<n.length&&0===n[i+1].indexOf("+++ ")&&0===n[i+2].indexOf("@@"));i++){var s=0==n[i].length&&i!=n.length-1?" ":n[i][0];if("+"!==s&&"-"!==s&&" "!==s&&"\\"!==s)break;a.lines.push(n[i]),a.linedelimiters.push(r[i]||"\n"),"+"===s?l++:"-"===s?c++:" "===s&&(l++,c++)}if(l||1!==a.newLines||(a.newLines=0),c||1!==a.oldLines||(a.oldLines=0),t.strict){if(l!==a.newLines)throw new Error("Added line count did not match for hunk at line "+(e+1));if(c!==a.oldLines)throw new Error("Removed line count did not match for hunk at line "+(e+1))}return a}for(;i<n.length;)a();return o}},62973:function(e,t){"use strict";function n(e,t){if(t.length>e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.arrayEqual=function(e,t){if(e.length!==t.length)return!1;return n(e,t)},t.arrayStartsWith=n},18043:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var r=!0,o=!1,i=!1,a=1;return function l(){if(r&&!i){if(o?a++:r=!1,e+a<=n)return a;i=!0}if(!o)return i||(r=!0),t<=e-a?-a++:(o=!0,l())}}},35388:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateOptions=function(e,t){if("function"===typeof e)t.callback=e;else if(e)for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}},84707:function(e,t,n){"use strict";n.r(t),n.d(t,{cache:function(){return _},css:function(){return F},cx:function(){return P},flush:function(){return A},getRegisteredStyles:function(){return M},hydrate:function(){return Z},injectGlobal:function(){return R},keyframes:function(){return B},merge:function(){return T},sheet:function(){return I}});var r=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)===0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}();var o=function(e){function t(e,r,c,s,f){for(var p,h,m,v,w,x=0,C=0,E=0,S=0,O=0,Z=0,T=m=p=0,R=0,B=0,F=0,I=0,_=c.length,z=_-1,H="",V="",W="",G="";R<_;){if(h=c.charCodeAt(R),R===z&&0!==C+S+E+x&&(0!==C&&(h=47===C?10:47),S=E=x=0,_++,z++),0===C+S+E+x){if(R===z&&(0<B&&(H=H.replace(d,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=c.charAt(R)}h=59}switch(h){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,I=++R;R<_;){switch(h=c.charCodeAt(R)){case 123:m++;break;case 125:m--;break;case 47:switch(h=c.charCodeAt(R+1)){case 42:case 47:e:{for(T=R+1;T<z;++T)switch(c.charCodeAt(T)){case 47:if(42===h&&42===c.charCodeAt(T-1)&&R+2!==T){R=T+1;break e}break;case 10:if(47===h){R=T+1;break e}}R=T}}break;case 91:h++;case 40:h++;case 34:case 39:for(;R++<z&&c.charCodeAt(R)!==h;);}if(0===m)break;R++}if(m=c.substring(I,R),0===p&&(p=(H=H.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<B&&(H=H.replace(d,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=A}if(I=(m=t(r,B,m,h,f+1)).length,0<P&&(w=l(3,m,B=n(A,H,F),r,N,D,I,h,f,s),H=B.join(""),void 0!==w&&0===(I=(m=w.trim()).length)&&(h=0,m="")),0<I)switch(h){case 115:H=H.replace(k,a);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(g,"$1 $2"))+"{"+m+"}",m=1===j||2===j&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===s&&(V+=m,m="")}else m=""}else m=t(r,n(r,H,F),m,s,f+1);W+=m,m=F=B=T=p=0,H="",h=c.charCodeAt(++R);break;case 125:case 59:if(1<(I=(H=(0<B?H.replace(d,""):H).trim()).length))switch(0===T&&(p=H.charCodeAt(0),45===p||96<p&&123>p)&&(I=(H=H.replace(" ",":")).length),0<P&&void 0!==(w=l(1,H,r,e,N,D,V.length,s,f,s))&&0===(I=(H=w.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),h=H.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){G+=H+c.charAt(R);break}default:58!==H.charCodeAt(I-1)&&(V+=o(H,p,h,H.charCodeAt(2)))}F=B=T=p=0,H="",h=c.charCodeAt(++R)}}switch(h){case 13:case 10:47===C?C=0:0===1+p&&107!==s&&0<H.length&&(B=1,H+="\0"),0<P*M&&l(0,H,r,e,N,D,V.length,s,f,s),D=1,N++;break;case 59:case 125:if(0===C+S+E+x){D++;break}default:switch(D++,v=c.charAt(R),h){case 9:case 32:if(0===S+x+C)switch(O){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===S+C+x&&(B=F=1,v="\f"+v);break;case 108:if(0===S+C+x+L&&0<T)switch(R-T){case 2:112===O&&58===c.charCodeAt(R-3)&&(L=O);case 8:111===Z&&(L=Z)}break;case 58:0===S+C+x&&(T=R);break;case 44:0===C+E+S+x&&(B=1,v+="\r");break;case 34:case 39:0===C&&(S=S===h?0:0===S?h:S);break;case 91:0===S+C+E&&x++;break;case 93:0===S+C+E&&x--;break;case 41:0===S+C+x&&E--;break;case 40:if(0===S+C+x){if(0===p)if(2*O+3*Z===533);else p=1;E++}break;case 64:0===C+E+S+x+T+m&&(m=1);break;case 42:case 47:if(!(0<S+x+E))switch(C){case 0:switch(2*h+3*c.charCodeAt(R+1)){case 235:C=47;break;case 220:I=R,C=42}break;case 42:47===h&&42===O&&I+2!==R&&(33===c.charCodeAt(I+2)&&(V+=c.substring(I,R+1)),v="",C=0)}}0===C&&(H+=v)}Z=O,O=h,R++}if(0<(I=V.length)){if(B=r,0<P&&(void 0!==(w=l(2,V,B,e,N,D,I,s,f,s))&&0===(V=w).length))return G+V+W;if(V=B.join(",")+"{"+V+"}",0!==j*L){switch(2!==j||i(V,2)||(L=0),L){case 111:V=V.replace(y,":-moz-$1")+V;break;case 112:V=V.replace(b,"::-webkit-input-$1")+V.replace(b,"::-moz-$1")+V.replace(b,":-ms-input-$1")+V}L=0}}return G+V+W}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],n).trim();break;default:var c=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[c++]=r(e[s]+" ",o[l],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",l=2*t+3*n+4*r;if(944===l){e=a.indexOf(":",9)+1;var c=a.substring(e,a.length-1).trim();return c=a.substring(0,e).trim()+c+";",1===j||2===j&&i(c,1)?"-webkit-"+c+c:c}if(0===j||2===j&&!i(a,1))return a;switch(l){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(c=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+c+a;case 1005:return p.test(a)?a.replace(f,":-webkit-")+a.replace(f,":-moz-")+a:a;case 1e3:switch(t=(c=a.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(t)){case 226:c=a.replace(w,"tb");break;case 232:c=a.replace(w,"tb-rl");break;case 220:c=a.replace(w,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+c+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(c=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(111>c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(c,"-webkit-"+c)+";"+a.replace(c,"-ms-"+c+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return c=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+c+"-ms-flex-"+c+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(C,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(C,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(c,"-webkit-"+c)+a.replace(c,"-moz-"+c.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),T(2!==t?r:r.replace(E,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(x," or ($1)").substring(4):"("+t+")"}function l(e,t,n,r,o,i,a,l,c,u){for(var d,f=0,p=t;f<P;++f)switch(d=Z[f].call(s,e,p,n,r,o,i,a,l,c,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function c(e){return void 0!==(e=e.prefix)&&(T=null,e?"function"!==typeof e?j=1:(j=2,T=e):j=0),c}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<P){var o=l(-1,n,r,r,N,D,0,0,0,0);void 0!==o&&"string"===typeof o&&(n=o)}var i=t(A,r,n,0,0);return 0<P&&(void 0!==(o=l(-2,i,r,r,N,D,i.length,0,0,0))&&(i=o)),"",L=0,D=N=1,i}var u=/^\0+/g,d=/[\0\r\f]/g,f=/: */g,p=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,w=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,x=/([\s\S]*?);/g,C=/-self|flex-/g,E=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,D=1,N=1,L=0,j=1,A=[],Z=[],P=0,T=null,M=0;return s.use=function e(t){switch(t){case void 0:case null:P=Z.length=0;break;default:if("function"===typeof t)Z[P++]=t;else if("object"===typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else M=0|!!t}return e},s.set=c,void 0!==e&&c(e),s},i="/*|*/",a=i+"}";function l(e){e&&c.current.insert(e+"}")}var c={current:null},s=function(e,t,n,r,o,s,u,d,f,p){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return c.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===d)return t+i;break;case 3:switch(d){case 102:case 112:return c.current.insert(n[0]+t),"";default:return t+(0===p?i:"")}case-2:t.split(a).forEach(l)}},u=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new o(t);var a,l={};a=e.container||document.head;var u,d=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(d,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){l[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),i.use(e.stylisPlugins)(s),u=function(e,t,n,r){var o=t.name;c.current=n,i(e,t.styles),r&&(f.inserted[o]=!0)};var f={key:n,sheet:new r({key:n,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:l,registered:{},insert:u};return f},d=n(98918),f=n(63840);var p=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},h=/[A-Z]|^ms/g,m=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v=function(e){return 45===e.charCodeAt(1)},g=function(e){return null!=e&&"boolean"!==typeof e},b=p((function(e){return v(e)?e:e.replace(h,"-$&").toLowerCase()})),y=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(m,(function(e,t,n){return k={name:t,styles:n,next:k},t}))}return 1===f.Z[e]||v(e)||"number"!==typeof t||0===t?t:t+"px"};function w(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return k={name:n.name,styles:n.styles,next:k},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)k={name:o.name,styles:o.styles,next:k},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=w(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":g(a)&&(r+=b(i)+":"+y(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=w(e,t,a,!1);switch(i){case"animation":case"animationName":r+=b(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}else for(var c=0;c<a.length;c++)g(a[c])&&(r+=b(i)+":"+y(i,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=k,a=n(e);return k=i,w(e,t,a,r)}}if(null==t)return n;var l=t[n];return void 0===l||r?n:l}var k,x=/label:\s*([^\s;\n{]+)\s*;/g;var C=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";k=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=w(n,t,i,!1)):o+=i[0];for(var a=1;a<e.length;a++)o+=w(n,t,e[a],46===o.charCodeAt(o.length-1)),r&&(o+=i[a]);x.lastIndex=0;for(var l,c="";null!==(l=x.exec(o));)c+="-"+l[1];return{name:(0,d.Z)(o)+c,styles:o,next:k}};function E(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var S=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}};function O(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function D(e,t,n){var r=[],o=E(e,r,n);return r.length<2?n:o+t(r)}var N=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var i=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))i=e(o);else for(var a in i="",o)o[a]&&a&&(i&&(i+=" "),i+=a);break;default:i=o}i&&(n&&(n+=" "),n+=i)}}return n},L=function(e){var t=u(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=C(n,t.registered,void 0);return S(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return D(t.registered,n,N(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=C(n,t.registered);O(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=C(n,t.registered),i="animation-"+o.name;return O(t,{name:o.name,styles:"@keyframes "+i+"{"+o.styles+"}"}),i},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:E.bind(null,t.registered),merge:D.bind(null,t.registered,n)}},j=L(),A=j.flush,Z=j.hydrate,P=j.cx,T=j.merge,M=j.getRegisteredStyles,R=j.injectGlobal,B=j.keyframes,F=j.css,I=j.sheet,_=j.cache},85781:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}function i(e,t){void 0===t&&(t=o);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var i=e.apply(this,r);return n={lastResult:i,lastArgs:r,lastThis:this},i}return r.clear=function(){n=null},r}},91708:function(e,t,n){"use strict";var r=n(861).default;Object.defineProperty(t,"__esModule",{value:!0}),t.computeLineInformation=t.DiffMethod=t.DiffType=void 0;var o,i,a=n(31559),l=a;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ADDED=1]="ADDED",e[e.REMOVED=2]="REMOVED",e[e.CHANGED=3]="CHANGED"}(o=t.DiffType||(t.DiffType={})),function(e){e.CHARS="diffChars",e.WORDS="diffWords",e.WORDS_WITH_SPACE="diffWordsWithSpace",e.LINES="diffLines",e.TRIMMED_LINES="diffTrimmedLines",e.SENTENCES="diffSentences",e.CSS="diffCss",e.JSON="diffJson"}(i=t.DiffMethod||(t.DiffMethod={}));var c=function(e){return""===e?[]:e.replace(/\n$/,"").split("\n")},s=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.CHARS,r=l[n](e,t),a={left:[],right:[]};return r.forEach((function(e){var t=e.added,n=e.removed,r=e.value,i={};return t&&(i.type=o.ADDED,i.value=r,a.right.push(i)),n&&(i.type=o.REMOVED,i.value=r,a.left.push(i)),n||t||(i.type=o.DEFAULT,i.value=r,a.right.push(i),a.left.push(i)),i})),a};t.computeLineInformation=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.CHARS,u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,d=[];d="string"===typeof e&&"string"===typeof t?a.diffLines(e.trimRight(),t.trimRight(),{newlineIsToken:!1,ignoreWhitespace:!1,ignoreCase:!1}):a.diffJson(e,t);var f=u,p=u,h=[],m=0,v=[],g=[],b=function e(t,r,i,a,u){return c(t).map((function(t,h){var b={},y={};if(!(g.includes("".concat(r,"-").concat(h))||u&&0!==h)){if(i||a){var w=!0;if(a){p+=1,b.lineNumber=p,b.type=o.REMOVED,b.value=t||" ";var k=d[r+1];if(k&&k.added){var x=c(k.value)[h];if(x){var C=e(x,r,!0,!1,!0)[0].right,E=C.value,S=C.lineNumber,O=C.type;if(g.push("".concat(r+1,"-").concat(h)),y.lineNumber=S,b.value===E)w=!1,y.type=0,b.type=0,y.value=E;else if(y.type=O,n)y.value=E;else{var D=s(t,E,l);y.value=D.right,b.value=D.left}}}}else f+=1,y.lineNumber=f,y.type=o.ADDED,y.value=t;w&&!u&&(v.includes(m)||v.push(m))}else p+=1,f+=1,b.lineNumber=p,b.type=o.DEFAULT,b.value=t,y.lineNumber=f,y.type=o.DEFAULT,y.value=t;return u||(m+=1),{right:y,left:b}}})).filter(Boolean)};return d.forEach((function(e,t){var n=e.added,o=e.removed,i=e.value;h=[].concat(r(h),r(b(i,t,n,o)))})),{lineInformation:h,diffLines:v}}},29040:function(e,t,n){"use strict";var r=n(38416).default,o=n(89728).default,i=n(56690).default,a=n(61655).default,l=n(26389).default;t.ZF=void 0;var c=n(72791),s=n(52007),u=n(81694),d=n(91708);var f,p=n(66763),h=n(85781),m=h.default||h;!function(e){e.LEFT="L",e.RIGHT="R"}(f=t.ZF||(t.ZF={}));var v=function(e){a(n,e);var t=l(n);function n(e){var o;return i(this,n),(o=t.call(this,e)).resetCodeBlocks=function(){return o.state.expandedBlocks.length>0&&(o.setState({expandedBlocks:[]}),!0)},o.onBlockExpand=function(e){var t=o.state.expandedBlocks.slice();t.push(e),o.setState({expandedBlocks:t})},o.computeStyles=m(p.default),o.onLineNumberClickProxy=function(e){return o.props.onLineNumberClick?function(t){return o.props.onLineNumberClick(e,t)}:function(){}},o.renderWordDiff=function(e,t){return e.map((function(e,n){var i;return c.createElement("span",{key:n,className:(0,u.default)(o.styles.wordDiff,(i={},r(i,o.styles.wordAdded,e.type===d.DiffType.ADDED),r(i,o.styles.wordRemoved,e.type===d.DiffType.REMOVED),i))},t?t(e.value):e.value)}))},o.renderLine=function(e,t,n,i,a,l){var s,f,p,h,m,v="".concat(n,"-").concat(e),g="".concat(l,"-").concat(a),b=o.props.highlightLines.includes(v)||o.props.highlightLines.includes(g),y=t===d.DiffType.ADDED,w=t===d.DiffType.REMOVED,k=t===d.DiffType.CHANGED;return m=Array.isArray(i)?o.renderWordDiff(i,o.props.renderContent):o.props.renderContent?o.props.renderContent(i):i,c.createElement(c.Fragment,null,!o.props.hideLineNumbers&&c.createElement("td",{onClick:e&&o.onLineNumberClickProxy(v),className:(0,u.default)(o.styles.gutter,(s={},r(s,o.styles.emptyGutter,!e),r(s,o.styles.diffAdded,y),r(s,o.styles.diffRemoved,w),r(s,o.styles.diffChanged,k),r(s,o.styles.highlightedGutter,b),s))},c.createElement("pre",{className:o.styles.lineNumber},e)),!o.props.splitView&&!o.props.hideLineNumbers&&c.createElement("td",{onClick:a&&o.onLineNumberClickProxy(g),className:(0,u.default)(o.styles.gutter,(f={},r(f,o.styles.emptyGutter,!a),r(f,o.styles.diffAdded,y),r(f,o.styles.diffRemoved,w),r(f,o.styles.diffChanged,k),r(f,o.styles.highlightedGutter,b),f))},c.createElement("pre",{className:o.styles.lineNumber},a)),o.props.renderGutter?o.props.renderGutter({lineNumber:e,type:t,prefix:n,value:i,additionalLineNumber:a,additionalPrefix:l,styles:o.styles}):null,c.createElement("td",{className:(0,u.default)(o.styles.marker,(p={},r(p,o.styles.emptyLine,!m),r(p,o.styles.diffAdded,y),r(p,o.styles.diffRemoved,w),r(p,o.styles.diffChanged,k),r(p,o.styles.highlightedLine,b),p))},c.createElement("pre",null,y&&"+",w&&"-")),c.createElement("td",{className:(0,u.default)(o.styles.content,(h={},r(h,o.styles.emptyLine,!m),r(h,o.styles.diffAdded,y),r(h,o.styles.diffRemoved,w),r(h,o.styles.diffChanged,k),r(h,o.styles.highlightedLine,b),h))},c.createElement("pre",{className:o.styles.contentText},m)))},o.renderSplitView=function(e,t){var n=e.left,r=e.right;return c.createElement("tr",{key:t,className:o.styles.line},o.renderLine(n.lineNumber,n.type,f.LEFT,n.value),o.renderLine(r.lineNumber,r.type,f.RIGHT,r.value))},o.renderInlineView=function(e,t){var n,r=e.left,i=e.right;return r.type===d.DiffType.REMOVED&&i.type===d.DiffType.ADDED?c.createElement(c.Fragment,{key:t},c.createElement("tr",{className:o.styles.line},o.renderLine(r.lineNumber,r.type,f.LEFT,r.value,null)),c.createElement("tr",{className:o.styles.line},o.renderLine(null,i.type,f.RIGHT,i.value,i.lineNumber))):(r.type===d.DiffType.REMOVED&&(n=o.renderLine(r.lineNumber,r.type,f.LEFT,r.value,null)),r.type===d.DiffType.DEFAULT&&(n=o.renderLine(r.lineNumber,r.type,f.LEFT,r.value,i.lineNumber,f.RIGHT)),i.type===d.DiffType.ADDED&&(n=o.renderLine(null,i.type,f.RIGHT,i.value,i.lineNumber)),c.createElement("tr",{key:t,className:o.styles.line},n))},o.onBlockClickProxy=function(e){return function(){return o.onBlockExpand(e)}},o.renderSkippedLineIndicator=function(e,t,n,i){var a=o.props,l=a.hideLineNumbers,s=a.splitView,d=o.props.codeFoldMessageRenderer?o.props.codeFoldMessageRenderer(e,n,i):c.createElement("pre",{className:o.styles.codeFoldContent},"Expand ",e," lines ..."),f=c.createElement("td",null,c.createElement("a",{onClick:o.onBlockClickProxy(t),tabIndex:0},d)),p=!s&&!l;return c.createElement("tr",{key:"".concat(n,"-").concat(i),className:o.styles.codeFold},!l&&c.createElement("td",{className:o.styles.codeFoldGutter}),o.props.renderGutter?c.createElement("td",{className:o.styles.codeFoldGutter}):null,c.createElement("td",{className:(0,u.default)(r({},o.styles.codeFoldGutter,p))}),p?c.createElement(c.Fragment,null,c.createElement("td",null),f):c.createElement(c.Fragment,null,f,o.props.renderGutter?c.createElement("td",null):null,c.createElement("td",null)),c.createElement("td",null),c.createElement("td",null))},o.renderDiff=function(){var e=o.props,t=e.oldValue,n=e.newValue,r=e.splitView,i=e.disableWordDiff,a=e.compareMethod,l=e.linesOffset,s=(0,d.computeLineInformation)(t,n,i,a,l),u=s.lineInformation,f=s.diffLines,p=o.props.extraLinesSurroundingDiff<0?0:o.props.extraLinesSurroundingDiff,h=[];return u.map((function(e,t){var n=f[0],i=n-t;if(o.props.showDiffOnly&&(i===-p&&(h=[],f.shift()),e.left.type===d.DiffType.DEFAULT&&(i>p||"undefined"===typeof n)&&!o.state.expandedBlocks.includes(n))){if(h.push(t+1),t===u.length-1&&h.length>1)return o.renderSkippedLineIndicator(h.length,n,e.left.lineNumber,e.right.lineNumber);if(t<u.length-1)return null}var a=r?o.renderSplitView(e,t):o.renderInlineView(e,t);if(i===p&&h.length>0){var l=h.length;return h=[],c.createElement(c.Fragment,{key:t},o.renderSkippedLineIndicator(l,n,e.left.lineNumber,e.right.lineNumber),a)}return a}))},o.render=function(){var e=o.props,t=e.oldValue,n=e.newValue,i=e.useDarkTheme,a=e.leftTitle,l=e.rightTitle,s=e.splitView,f=e.hideLineNumbers;if(o.props.compareMethod!==d.DiffMethod.JSON&&("string"!==typeof t||"string"!==typeof n))throw Error('"oldValue" and "newValue" should be strings');o.styles=o.computeStyles(o.props.styles,i);var p=o.renderDiff(),h=f?2:3,m=f?2:4,v=o.props.renderGutter?1:0,g=(a||l)&&c.createElement("tr",null,c.createElement("td",{colSpan:(s?h:m)+v,className:o.styles.titleBlock},c.createElement("pre",{className:o.styles.contentText},a)),s&&c.createElement("td",{colSpan:h+v,className:o.styles.titleBlock},c.createElement("pre",{className:o.styles.contentText},l)));return c.createElement("table",{className:(0,u.default)(o.styles.diffContainer,r({},o.styles.splitView,s))},c.createElement("tbody",null,g,p))},o.state={expandedBlocks:[]},o}return o(n)}(c.Component);v.defaultProps={oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:d.DiffMethod.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0},v.propTypes={oldValue:s.any.isRequired,newValue:s.any.isRequired,splitView:s.bool,disableWordDiff:s.bool,compareMethod:s.oneOf(Object.values(d.DiffMethod)),renderContent:s.func,renderGutter:s.func,onLineNumberClick:s.func,extraLinesSurroundingDiff:s.number,styles:s.object,hideLineNumbers:s.bool,showDiffOnly:s.bool,highlightLines:s.arrayOf(s.string),leftTitle:s.oneOfType([s.string,s.element]),rightTitle:s.oneOfType([s.string,s.element]),linesOffset:s.number},t.ZP=v},66763:function(e,t,n){"use strict";var r=n(38416).default,o=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};Object.defineProperty(t,"__esModule",{value:!0});var i=n(84707);t.default=function(e){var t,n,a,l,c,s,u=arguments.length>1&&void 0!==arguments[1]&&arguments[1],d=e.variables,f=void 0===d?{}:d,p=o(e,["variables"]),h={light:Object.assign({diffViewerBackground:"#fff",diffViewerColor:"#212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",changedBackground:"#fffbdd",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee"},f.light||{}),dark:Object.assign({diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#044B53",addedColor:"white",removedBackground:"#632F34",removedColor:"white",changedBackground:"#3e302c",wordAddedBackground:"#055d67",wordRemovedBackground:"#7d383f",addedGutterBackground:"#034148",removedGutterBackground:"#632b30",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#21232b",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#666c87",addedGutterColor:"#8c8c8c",removedGutterColor:"#8c8c8c",codeFoldContentColor:"#656a8b",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#555a7b",diffViewerTitleBorderColor:"#353846"},f.dark||{})},m=u?h.dark:h.light,v=(0,i.css)({width:"100%",label:"content"}),g=(0,i.css)((r(t={},".".concat(v),{width:"50%"}),r(t,"label","split-view"),t)),b=(0,i.css)({width:"100%",background:m.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"25px"},label:"diff-container",borderCollapse:"collapse"}),y=(0,i.css)({color:m.codeFoldContentColor,label:"code-fold-content"}),w=(0,i.css)({color:m.diffViewerColor,label:"content-text"}),k=(0,i.css)(r({background:m.diffViewerTitleBackground,padding:10,borderBottom:"1px solid ".concat(m.diffViewerTitleBorderColor),label:"title-block",":last-child":{borderLeft:"1px solid ".concat(m.diffViewerTitleBorderColor)}},".".concat(w),{color:m.diffViewerTitleColor})),x=(0,i.css)({color:m.gutterColor,label:"line-number"}),C=(0,i.css)((n={background:m.removedBackground,color:m.removedColor,pre:{color:m.removedColor}},r(n,".".concat(x),{color:m.removedGutterColor}),r(n,"label","diff-removed"),n)),E=(0,i.css)((a={background:m.addedBackground,color:m.addedColor,pre:{color:m.addedColor}},r(a,".".concat(x),{color:m.addedGutterColor}),r(a,"label","diff-added"),a)),S=(0,i.css)((l={background:m.changedBackground},r(l,".".concat(x),{color:m.gutterColor}),r(l,"label","diff-changed"),l)),O=(0,i.css)({padding:2,display:"inline-flex",borderRadius:4,wordBreak:"break-all",label:"word-diff"}),D=(0,i.css)({background:m.wordAddedBackground,label:"word-added"}),N=(0,i.css)({background:m.wordRemovedBackground,label:"word-removed"}),L=(0,i.css)({backgroundColor:m.codeFoldGutterBackground,label:"code-fold-gutter"}),j=(0,i.css)({backgroundColor:m.codeFoldBackground,height:40,fontSize:14,fontWeight:700,label:"code-fold",a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),A=(0,i.css)({backgroundColor:m.emptyLineBackground,label:"empty-line"}),Z=(0,i.css)((r(c={width:25,paddingLeft:10,paddingRight:10,userSelect:"none",label:"marker"},"&.".concat(E),{pre:{color:m.addedColor}}),r(c,"&.".concat(C),{pre:{color:m.removedColor}}),c)),P=(0,i.css)(r({background:m.highlightBackground,label:"highlighted-line"},".".concat(D,", .").concat(N),{backgroundColor:"initial"})),T=(0,i.css)({label:"highlighted-gutter"}),M=(0,i.css)((s={userSelect:"none",minWidth:50,padding:"0 10px",whiteSpace:"nowrap",label:"gutter",textAlign:"right",background:m.gutterBackground,"&:hover":{cursor:"pointer",background:m.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5}},r(s,"&.".concat(E),{background:m.addedGutterBackground}),r(s,"&.".concat(C),{background:m.removedGutterBackground}),r(s,"&.".concat(T),{background:m.highlightGutterBackground,"&:hover":{background:m.highlightGutterBackground}}),s)),R=(0,i.css)({"&:hover":{background:m.gutterBackground,cursor:"initial"},label:"empty-gutter"}),B=(0,i.css)({verticalAlign:"baseline",label:"line"}),F={diffContainer:b,diffRemoved:C,diffAdded:E,diffChanged:S,splitView:g,marker:Z,highlightedGutter:T,highlightedLine:P,gutter:M,line:B,wordDiff:O,wordAdded:D,wordRemoved:N,codeFoldGutter:L,codeFold:j,emptyGutter:R,emptyLine:A,lineNumber:x,contentText:w,content:v,codeFoldContent:y,titleBlock:k},I=Object.keys(p).reduce((function(e,t){return Object.assign(Object.assign({},e),r({},t,(0,i.css)(p[t])))}),{});return Object.keys(F).reduce((function(e,t){return Object.assign(Object.assign({},e),r({},t,I[t]?(0,i.cx)(F[t],I[t]):F[t]))}),{})}},42458:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);
//# sourceMappingURL=6331.a26dfbfa.chunk.js.map